﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="export.aspx.cs" Inherits="AnyOffice.general.hrms.manage.export" %>

<%@ Register TagPrefix="cc1" Namespace="PickListControl" Assembly="PickListControl" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title></title>		
		<LINK href="/module/date_selector/popcalendar.css" type="text/css" rel="stylesheet">
		<script src="/module/date_selector/popcalendar.js"></script>
		<script src="/aspnet_client/core/function.js"></script>
		<script>
function CheckForm()
{
	
	if(!checkIsInteger(document.Form1.txtMinAge.value))
   {   
	 alert("年龄最小值输入不正确！");
	 document.Form1.txtMinAge.focus();
	 return (false);
   }
   
   if(!checkIsInteger(document.Form1.txtMaxAge.value))
   {   
	 alert("年龄最大值输入不正确！");
	 document.Form1.txtMaxAge.focus();
	 return (false);
   }  
   
   if(!checkIsDate(document.Form1.txtWorkDateBegin.value))
   {
	 alert("参加工作开始时间不正确！");
	 document.Form1.txtWorkDateBegin.focus();
	 return (false);
   }
    if(!checkIsDate(document.Form1.txtWorkDateEnd.value))
   {
	 alert("参加工作结束时间不正确！");
	 document.Form1.txtWorkDateEnd.focus();
	 return (false);
   }
   
   if(!checkIsDate(document.Form1.txtJoinDateBegin.value))
   {
	 alert("加入本单位时间开始时间不正确！");
	 document.Form1.txtJoinDateBegin.focus();
	 return (false);
   }
    if(!checkIsDate(document.Form1.txtJoinDateEnd.value))
   {
	 alert("加入本单位时间结束时间不正确！");
	 document.Form1.txtJoinDateEnd.focus();
	 return (false);
   }
    
   
   return true;
}
		</script>
		<script>
function hrms_detail(user_id)
{
 URL="hrms.aspx?user_id="+user_id + "&is_close=true";
 myleft=(screen.availWidth-500)/2;
 window.open(URL,"read_notify","height=500,width=600,status=0,toolbar=no,menubar=no,location=no,scrollbars=yes,top=150,left="+myleft+",resizable=yes");
}

		</script>
	</HEAD>
	<body class="bodycolor" topMargin="5">
		<form id="Form1" method="post" runat="server">
		<iframe id="download_excel" name="download_excel" src="" width="0" height="0" frameborder="0"></iframe>
			<TABLE class="small" cellSpacing="0" cellPadding="3" width="100%" border="0">
				<TR>
					<TD class="Big"><IMG height="20" src="/images/menu/hrms.gif" align="absmiddle"><SPAN class="big3">
							<asp:Literal id="litNavTitle" runat="server" Text="导出EXCEL人员档案"></asp:Literal></SPAN></TD>
				</TR>
			</TABLE>
			<asp:panel id="pnlMain" runat="server">
				
    <TABLE class="small" cellSpacing="1" cellPadding="2" width="95%" align="center" border="0" bgcolor="#000000">
      <TR> 
        <TD class="TableHeader" noWrap colspan="4"><img src="/images/green_arrow.gif" align="absmiddle"> 
          &nbsp;导出范围</TD>
      </TR>
      <TR> 
        <TD noWrap class="TableControl">部门：</TD>
        <TD class="TableData"> <asp:DropDownList id="ddlDeptId" runat="server" CssClass="BigSelect"></asp:DropDownList></TD>
        <TD class="TableControl">编号：</TD>
        <TD class="TableData"> <input class="BigInput" id="txtNumber" type="text" maxlength="50" size="15" name="txtNumber"
								runat="server"> </TD>
      </TR>
      <TR> 
        <TD class="TableControl" noWrap>性别：</TD>
        <TD class="TableData"><SELECT class="BigSelect" id="selectSex" name="selectSex" runat="server">
            <OPTION value="" selected></OPTION>
            <OPTION value="True">男</OPTION>
            <OPTION value="False">女</OPTION>
          </SELECT> </TD>
        <TD class="TableControl">年龄：</TD>
        <TD class="TableData"><INPUT class="BigInput" id="txtMinAge" type="text" maxLength="2" size="4" name="txtMinAge"
								runat="server"> &nbsp;至 
          <INPUT class="BigInput" id="txtMaxAge" type="text" maxLength="2" size="4" name="txtMaxAge"
								runat="server"></TD>
      </TR>
      <TR> 
        <TD class="TableControl" noWrap>民族：</TD>
        <TD class="TableData"><INPUT class="BigInput" id="txtNation" type="text" maxLength="50" size="8" name="txtNation"
								runat="server"> </TD>
        <TD class="TableControl">身份证号码：</TD>
        <TD class="TableData"><input class="BigInput" id="txtCardNo" type="text" maxlength="50" size="15" name="txtCardNo"
								runat="server"></TD>
      </TR>
      <TR> 
        <TD class="TableControl" noWrap>婚姻状况：</TD>
        <TD colspan="3" class="TableData"><SELECT class="BigSelect" id="selectMarry" name="selectMarry" runat="server">
            <OPTION value="" selected></OPTION>
            <OPTION value="未婚">未婚</OPTION>
            <OPTION value="已婚">已婚</OPTION>
            <OPTION value="离异">离异</OPTION>
          </SELECT> </TD>
      </TR>
      <TR> 
        <TD class="TableControl" noWrap>籍贯：</TD>
        <TD class="TableData"><INPUT class="BigInput" id="txtNativePlace" type="text" maxLength="50" size="15" name="txtNativePlace"
								runat="server"> </TD>
        <TD class="TableControl">户口所在地：</TD>
        <TD class="TableData"><input class="BigInput" id="txtHukouPlace" type="text" maxlength="50" size="15" name="txtHukouPlace"
								runat="server"></TD>
      </TR>
      <TR> 
        <TD class="TableControl" noWrap>学历：</TD>
        <TD class="TableData"><SELECT class="BigSelect" id="selectEducation" name="selectEducation" runat="server">
            <OPTION value="" selected></OPTION>
            <OPTION value="小学">小学</OPTION>
            <OPTION value="初中">初中</OPTION>
            <OPTION value="高中">高中</OPTION>
            <OPTION value="中专">中专</OPTION>
            <OPTION value="大专">大专</OPTION>
            <OPTION value="大本">大本</OPTION>
            <OPTION value="硕士">硕士</OPTION>
            <OPTION value="博士">博士</OPTION>
            <OPTION value="博士后">博士后</OPTION>
          </SELECT> </TD>
        <TD class="TableControl">专业：</TD>
        <TD class="TableData"><input class="BigInput" id="txtSpeciallity" type="text" maxlength="50" size="15" name="txtSpeciallity"
								runat="server"></TD>
      </TR>
      <TR> 
        <TD class="TableControl" noWrap>毕业院校：</TD>
        <TD colspan="3" class="TableData"><INPUT class="BigInput" id="txtSchool" type="text" maxLength="50" size="30" name="txtSchool"
								runat="server"> </TD>
      </TR>
      <TR> 
        <TD class="TableControl" noWrap>参加工作时间：</TD>
        <TD colspan="3" noWrap class="TableData"><INPUT class="BigInput" id="txtWorkDateBegin" type="text" maxLength="10" size="10" name="txtWorkDateBegin"
								runat="server"> <IMG style="CURSOR: hand" onclick="popUpCalendar(this,txtWorkDateBegin,'yyyy-mm-dd','');"
								src="/module/date_selector/calendar.gif" align="absMiddle" border="0">&nbsp;至 
          <INPUT class="BigInput" id="txtWorkDateEnd" type="text" maxLength="10" size="10" name="txtWorkDateEnd"
								runat="server"> <IMG style="CURSOR: hand" onclick="popUpCalendar(this,txtWorkDateEnd,'yyyy-mm-dd','');"
								src="/module/date_selector/calendar.gif" align="absMiddle" border="0"> 
          格式2006-1-1</TD>
      </TR>
      <TR> 
        <TD class="TableControl" noWrap>加入本单位时间：</TD>
        <TD colspan="3" noWrap class="TableData"><INPUT class="BigInput" id="txtJoinDateBegin" type="text" maxLength="10" size="10" name="txtJoinDateBegin"
								runat="server"> <IMG style="CURSOR: hand" onclick="popUpCalendar(this,txtJoinDateBegin,'yyyy-mm-dd','');"
								src="/module/date_selector/calendar.gif" align="absMiddle" border="0"> 
          至 
          <INPUT class="BigInput" id="txtJoinDateEnd" type="text" maxLength="10" size="10" name="txtJoinDateEnd"
								runat="server"> <IMG style="CURSOR: hand" onclick="popUpCalendar(this,txtJoinDateEnd,'yyyy-mm-dd','');"
								src="/module/date_selector/calendar.gif" align="absMiddle" border="0"> 
          格式2006-1-1 </TD>
      </TR>
      <TR> 
        <TD class="TableControl" noWrap>职务：</TD>
        <TD class="TableData"><INPUT class="BigInput" id="txtPost" type="text" maxLength="50" size="15" name="txtPost"
								runat="server"> </TD>
        <TD class="TableControl">职称：</TD>
        <TD class="TableData"><input class="BigInput" id="txtTechPost" type="text" maxlength="50" size="15" name="txtTechPost"
								runat="server"></TD>
      </TR>
      <TR> 
        <TD class="TableControl" noWrap>政治面貌：</TD>
        <TD class="TableData"><select class="BigSelect" id="selectPolitics" name="selectPolitics" runat="server">
            <option value="" selected></option>
            <option value="群众">群众</option>
            <option value="团员">团员</option>
            <option value="预备党员">预备党员</option>
            <option value="党员">党员</option>
          </select> </TD>
        <TD class="TableControl">备 注：</TD>
        <TD class="TableData"><span class="TableData"> 
          <input class="BigInput" id="txtMemo" type="text" maxlength="50" size="15" name="txtMemo"
									runat="server">
          </span></TD>
      </TR>
      <TR> 
        <TD class="TableHeader" noWrap colspan="4"><img src="/images/green_arrow.gif" align="absmiddle"> 
          &nbsp;导出内容</TD>
      <TR> 
        <TD class="TableData" noWrap colspan="4"> <cc1:PickList id="pklFields" runat="server" Height="250px" Width="450px" FormID="Form1" IsMoveItemRight="False"></cc1:PickList> 
        </TD>
      </TR></TR>
      <TR class="TableControl"> 
        <TD noWrap align="center" colSpan="4"> <INPUT class="BigButton" onclick="return CheckForm();" type="submit" value="确定"> 
          &nbsp;&nbsp; <input type="button" value="清空" class="BigButton" onclick="location='query.aspx'"> 
        </TD>
      </TR>
    </TABLE>
				<BR>
				<BR>
			</asp:panel>		
			<asp:literal id="litMessage" runat="server"></asp:literal>
		</form>
	</body>
</HTML>

